\hypertarget{classbo__sdl_1_1SDLFactory}{
\section{bo\_\-sdl::SDLFactory Class Reference}
\label{classbo__sdl_1_1SDLFactory}\index{bo\_\-sdl::SDLFactory@{bo\_\-sdl::SDLFactory}}
}


{\ttfamily \#include $<$SDLFactory.h$>$}

Inheritance diagram for bo\_\-sdl::SDLFactory:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classbo__sdl_1_1SDLFactory}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classbo__sdl_1_1SDLBall}{SDLBall} $\ast$ \hyperlink{classbo__sdl_1_1SDLFactory_a42c466dd30fe7209477437a06ca2c39d}{CreateBall} (const char $\ast$, double, double, double, double, const double)
\item 
\hyperlink{classbo__sdl_1_1SDLBreakable}{SDLBreakable} $\ast$ \hyperlink{classbo__sdl_1_1SDLFactory_a93a2ef400f620a1942e1b946aa2fd654}{CreateBreakable} (const char $\ast$, double, double, const double)
\item 
\hyperlink{classbo__sdl_1_1SDLPaddle}{SDLPaddle} $\ast$ \hyperlink{classbo__sdl_1_1SDLFactory_a2dc2e0cd3e4e3da2a1f04a84bd22bfe0}{CreatePaddle} (const char $\ast$, double, double, const double, const double)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Actual factory pattern object that creates the used objects in the game, given the correct parameters 

\subsection{Member Function Documentation}
\hypertarget{classbo__sdl_1_1SDLFactory_a42c466dd30fe7209477437a06ca2c39d}{
\index{bo\_\-sdl::SDLFactory@{bo\_\-sdl::SDLFactory}!CreateBall@{CreateBall}}
\index{CreateBall@{CreateBall}!bo_sdl::SDLFactory@{bo\_\-sdl::SDLFactory}}
\subsubsection[{CreateBall}]{\setlength{\rightskip}{0pt plus 5cm}{\bf SDLBall} $\ast$ SDLFactory::CreateBall (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{ fileName, }
\item[{double}]{ xPos, }
\item[{double}]{ yPos, }
\item[{double}]{ xVel, }
\item[{double}]{ yVel, }
\item[{const double}]{ scale}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classbo__sdl_1_1SDLFactory_a42c466dd30fe7209477437a06ca2c39d}
Creates an SDL Ball object with the supplied position, sprite and velocity 

Implements \hyperlink{classAbstractFactory}{AbstractFactory}.

\hypertarget{classbo__sdl_1_1SDLFactory_a93a2ef400f620a1942e1b946aa2fd654}{
\index{bo\_\-sdl::SDLFactory@{bo\_\-sdl::SDLFactory}!CreateBreakable@{CreateBreakable}}
\index{CreateBreakable@{CreateBreakable}!bo_sdl::SDLFactory@{bo\_\-sdl::SDLFactory}}
\subsubsection[{CreateBreakable}]{\setlength{\rightskip}{0pt plus 5cm}{\bf SDLBreakable} $\ast$ SDLFactory::CreateBreakable (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{ fileName, }
\item[{double}]{ xPos, }
\item[{double}]{ yPos, }
\item[{const double}]{ scale}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classbo__sdl_1_1SDLFactory_a93a2ef400f620a1942e1b946aa2fd654}
Creates an SDL Breakable object with the supplied position, sprite and velocity 

Implements \hyperlink{classAbstractFactory}{AbstractFactory}.

\hypertarget{classbo__sdl_1_1SDLFactory_a2dc2e0cd3e4e3da2a1f04a84bd22bfe0}{
\index{bo\_\-sdl::SDLFactory@{bo\_\-sdl::SDLFactory}!CreatePaddle@{CreatePaddle}}
\index{CreatePaddle@{CreatePaddle}!bo_sdl::SDLFactory@{bo\_\-sdl::SDLFactory}}
\subsubsection[{CreatePaddle}]{\setlength{\rightskip}{0pt plus 5cm}{\bf SDLPaddle} $\ast$ SDLFactory::CreatePaddle (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{ fileName, }
\item[{double}]{ xPos, }
\item[{double}]{ yPos, }
\item[{const double}]{ scale, }
\item[{const double}]{ vel}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classbo__sdl_1_1SDLFactory_a2dc2e0cd3e4e3da2a1f04a84bd22bfe0}
Creates an SDL Paddle object with the supplied position, sprite and velocity 

Implements \hyperlink{classAbstractFactory}{AbstractFactory}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
SDLFactory.h\item 
SDLFactory.cpp\end{DoxyCompactItemize}
